import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;

public class Demo14 {
    public static void main(String[] args) throws IOException {
        try(Writer writer=new FileWriter("/Users/lcl/untitled7/src/test1",true)){
            writer.append("love");

        }
    }
}
